const routes = [
  {
    path: '/admin',
    name: 'AdminLayoutContainer', //代码的跳转
    component: () => import('@/views/admin/layout/LayoutContainer.vue'),
    redirect: '/adminhome',
    children: [
      {
        path: '/adminhome',
        component: () => import('@/views/admin/home/homeManage.vue')
      },
      {
        path: '/adminuserinfo',
        component: () => import('@/views/admin/userinfo/userInfoManage.vue')
      },
      {
        path: '/landresourceinfo',
        component: () =>
          import('@/views/admin/landresourceinfo/landResourceinfoManage.vue')
      },
      {
        path: '/landresourcereview',
        component: () =>
          import('@/views/admin/landresourceinfo/landresourcereviewManage.vue')
      },
      {
        path: '/landparcelinfo',
        component: () =>
          import('@/views/admin/landparcelinfo/landParcelinfoManage.vue')
      },
      {
        path: '/vegetableplotinfo',
        component: () =>
          import('@/views/admin/vegetableplotinfo/vegetablePlotManage.vue')
      },
      {
        path: '/plantingoutputinfo',
        component: () =>
          import('@/views/admin/plantingoutputinfo/plantingOutputManage.vue')
      },
      {
        path: '/plantingcostinfo',
        component: () =>
          import('@/views/admin/plantingcostinfo/plantingCostManage.vue')
      },
      {
        path: '/admininfo',
        component: () => import('@/views/admin/admininfo/ProfileManage.vue')
      },
      {
        path: '/adminavatar',
        component: () => import('@/views/admin/admininfo/adminavatarManage.vue')
      },
      {
        path: '/adminpassword',
        component: () => import('@/views/admin/admininfo/passwordManage.vue')
      },
      {
        path: '/adminnote',
        component: () => import('@/views/admin/adminnoteinfo/noteManage.vue')
      }
    ]
  }
]
export default routes
